<?php
// +----------------------------------------------------------------------
// | 账号资质认证
// +----------------------------------------------------------------------
// | Author: TongBC <50249101@qq.com>
// +----------------------------------------------------------------------
// | Date  : 2015/05/20
// +----------------------------------------------------------------------
include_once '/var/www/html/new/d/common/header.html';
include_once '/var/www/html/new/d/common/left.html';
include_once '/var/www/html/new/d/common/func.inc.php';
include_once '/var/www/html/new/d/class/abc/Member.class.php';

$ac=$GLOBALS['_ac'];
$pw=$GLOBALS['_pw'];
$s = new SoapClient(null,array("location" => "http://localhost/open/openService/pft_insideMX.php","uri" => "www.16u.com?ac_16u=$ac|pw_16u=$pw|auth_16u=true"));

$did = $_SESSION['sid'];
// 页面变量
$var = array(
	'other_les'   => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 其他证件
	'id_card_hand'=> 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 身份证正面
	'id_card_B'   => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 身份证背面
	'bsn_les'     => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 资质认证-营业执照
	'opt_les'     => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 经营许可证
	'auth_les'    => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 资源方授权书
	'org_les'     => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 组织机构代码证
	'tax_les'     => 'http://www.12301.cc/tpl/membercard/images/defaultThum.gif',// 税务登记证
	'com_type'    => '',// 账户类型
	'did'         => $did,
	'certi_status'=> 0,
	'id_card_no'  => ''
);


// 获取资质认证信息
$sql = "select other_les,id_card_hand,id_card_B,bsn_les,opt_les,auth_les,com_type,tax_les,org_les,certi_status,id_card_no from pft_member_extinfo where fid=$did limit 1";
$GLOBALS['le']->query($sql);
$data1 = $GLOBALS['le']->fetch_assoc();
if(is_array($data1)) $var = array_merge($var, array_filter($data1));

//图片上传地址
$upload_api = "//www.12301.cc/module/pwk/control/account_info_new.php";
$m_info = $var;

include '/var/www/html/new/d/tpl/certifi.html';
?>

    <link rel="stylesheet" type="text/css" href="http://www.12301.cc/css/common/reset_style.css"/>
     <link rel="stylesheet" href="http://www.12301.cc/css/new/enterprise_info.css"/>

<?
    include '/var/www/html/new/d/common/footer.html';
?>